﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EntGuayasSLA.BL;
using EntGuayasSLA.BL.Archivos.Pdf;
using EntGuayasSLA.BL.Listas;
using EntGuayasSLA.BL.Listas.Criterias;
using Ext.Net;

namespace EGuayas.Web.Licenciamiento.promotor.tabs
{
    //Constantes.LLicenciamiento
    public partial class pgLicencia : pgBase
    {
       
        protected void Page_Load(object sender, EventArgs e)
        {
          try{
            if (!X.IsAjaxRequest)
            {
                CloseTabs(TabPanel1, 1);
               
            }
          }
          catch (Exception ex)
          {
              RegistrarLog(ex);
          }
        }
        #region Documentos Promotor
      
        /// <summary>
        /// Inicializar constante 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void OnLoadDocLicenciaAdded(object sender, ComponentAddedEventArgs e)
        {
            try{
            Ext.Net.Panel panel = (Ext.Net.Panel)e.Control;
            SetCustomConfigWucLicAll(panel, SessionPage.PageLicPro,Constantes.LLicenciamiento );
            }
            catch (Exception ex)
            {
                RegistrarLog(ex);
            }


        }
        #endregion
        
       

    }


}